trans_ID (1): trans_ID

Description Usage Arguments Value Author(s)

Description

Translate metabolite ID.

Usage

1
2
3
4
5
6
7
trans_ID(
  query = "C00001",
  from = "KEGG",
  to = "PubChem SID",
  top = 1,
  server = c("cts.fiehnlab", "chemspider")
)

Arguments

query

The ID/name of metabolite you want to translate.

from

The databases of metabolites. Supported database can be shown using trans_id_database("from").

to

The databases of metabolites. Supported database can be shown using trans_id_database("to").

top

How many results should be returned?

server

server. cts.fiehnlab (http://cts.fiehnlab.ucdavis.edu/service/convert) or chemspider (https://www.chemspider.com/InChI.asmx)

Value

A data frame.

Author(s)

Xiaotao Shen shenxt1990@163.com


tidymass/tinytools documentation built on Jan. 2, 2022, 5:18 p.m.